package com.foxit.setting;
import java.io.Serializable;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
public class Policy implements Serializable {
     private static final long serialVersionUID = 1L;
     private String start;
     private int type;
     private int show_time_every_hour;
     private String show_mode;

    public Policy() {
         super();
    }
    public Policy(String start,int type,int show_time_every_hour,String show_mode) {
         super();
         this.start = start;
         this.type = type;
         this.show_time_every_hour = show_time_every_hour;
         this.show_mode = show_mode;
    }
    public String getStart() {
        return start;
/*
        JSONObject json = JSON.parseObject(start);
        String d = json.getString("$date");
        //d = d.replace('T',' ');
        //d=d.replace("00.000Z","00");
        return d;
*/
    }
    public void setStart(String start) {
        this.start = start;
    }
    public int getType() {
        return type;
    }
    public void setType(int type) {
        this.type = type;
    }
    public int getShow_time_every_hour() {
        return show_time_every_hour;
    }
    public void setShow_time_every_hour(int show_time_every_hour) {
        this.show_time_every_hour = show_time_every_hour;
    }
    public String getShow_mode() {
        return show_mode;
    }
    public void setShow_mode(String show_mode) {
        this.show_mode = show_mode;
    }
}
